package com.zeny.mycrm.dao;

import com.zeny.mycrm.model.CourseOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CourseOrderDao {

    List<CourseOrder> findListByMap(Map<String, Object> map);

    Integer findCountByMap(Map<String, Object> map);

    void insert(CourseOrder courseOrder);

    CourseOrder findByOrderId(@Param("order_id") String order_id);

    void delByOrderId(@Param("order_id") String order_id);

    void update(CourseOrder courseOrder);
}
